




decode_list=['utf-8', 'gb2312', 'gbk', 'gb18030', 'cp1252', ]
def decode_data(data):
    for coding in decode_list:
        try:
            data=data.decode(coding)
            return data,coding
        except:
            pass
    return u'',''
